package com.baor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baor.domain.ClassVo;
import com.baor.domain.StuVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Component
public interface ClazzDao extends BaseMapper<ClassVo>{
    public List<ClassVo> clazzList(Map<String,Object> params);
    public int deleteClazz(int id);
    public List<Integer> pageCount(Map<String,Object> params);
    public List<Map<String,Object>> teacherList();
    public List<Map<String,Object>> clazzStu(Map<String,Object> params);
    public List<Integer> stuPageCount(Map<String,Object> params);
    public List<Map<String,Object>> stuDetail(int stuId);
    public int deleteStu(int stuId);
    public int updateBatchById(Map<String,Object> params);
    public List<Map<String,Object>> classSelect();
    public int addSubject(Map<String,Object> params);
    public List<Map<String,Object>> selectSub(Map<String,Object> params);
}
